package com.scf.loanmanage.service;

import com.scf.loanmanage.entity.OverDueCollection;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OverDueCollectionService {

    List<OverDueCollection> selectAll(@Param("pageIndex") Integer pageIndex,
                                      @Param("pageSize")  Integer pageSize);


    //查询总条数
    Integer selectcount();


    //查询企业或ID
    List<OverDueCollection> selectByname(@Param("enterprisename")String enterprisename, @Param("code")String code);


    void upadte(@Param("oid")Integer oid,@Param("count")Integer count);

    OverDueCollection selctByid(Integer oid);
}
